import request from '@/utils/request'

/**一般试剂领用开始 */
export function selectedConsumeList(query) {
    return request({
        url: '/resource/consume/selectedConsumeList',
        method: 'get',
        params: query
    })
}

export function selectedConsume(consumeId) {
    return request({
        url: '/resource/consume/selectConsume/out/' + consumeId,
        method: 'post',
    })
}


export function cancelSelectedConsume(outId) {
    return request({
        url: '/resource/consume/out/' + outId,
        method: 'delete',
    })
}


export function clearAll() {
    return request({
        url: '/resource/consume/out/deleteAll',
        method: 'delete',
    })
}

export function outCount() {
    return request({
        url: '/resource/consume/out/outSelectedCount',
        method: 'get',
    })
}
/**一般试剂领用结束 */